Piwik\API\DataTablePostProcessor B

Total Complexity 84
Dependencies 19
Dependents 6
Total lines 427
Lines of code 286
Logical lines of code 195
Comment lines 85
Methods 23
Properties 8

Methods 23

Method Rating Maintainability Complexity Lines of code
applyProcessedMetricsGenericFilters()
A
46 14 36
computeProcessedMetrics()
A
46 13 39
applyFlattener()
S
56 6 18
applyLabelFilter()
S
56 6 17
applyMetricsFormatting()
S
58 6 14
applyRequestedColumnDeletion()
S
59 5 12
applyGenericFilters()
S
54 4 20
applyComparison()
S
57 4 17
removeTemporaryMetrics()
S
59 4 14
process()
S
55 3 22
getLabelFromRequest()
S
62 3 11
applyPivotByFilter()
S
60 2 12
applyArchiveStateFilter()
S
65 2 9
applyTotalsCalculator()
S
67 2 7
applyQueuedFilters()
S
70 2 6
setFormatter()
S
81 1 3
convertSegmentValueToSegment()
S
73 1 5
setCallbackAfterGenericFilters()
S
81 1 3
setCallbackBeforeGenericFilters()
S
81 1 3
unsanitizeLabelParameter()
S
74 1 4
setRequest()
S
81 1 3
applyComputeProcessedMetrics()
S
80 1 3
__construct()
S
66 1 8